package com.adtech.farmProducts.model;

import com.adtech.farmProducts.base.BillingTypeInfo;

import java.io.Serializable;
import java.util.List;

/**
 * Time:2019/6/26
 * Created by xiaocz
 * Describe 计价类型
 */
public class BillingType extends SortLetter implements Serializable {


    /**
     * temp_id : 1
     * tempname : 一线城市
     * isdefault : 0
     * chaochukm : null
     * chaochuprice : null
     * waitfree : null
     * chaochuwait : null
     * chaochuwaitprice : null
     * config : [{"config_id":"1","qishitime":"06:00:00","jieshutime":"21:00:00","qibukm":"10.00","qibuprice":"38.00","chaochukm":"1.00","chaochuprice":"5.00","waitfree":"10","chaochuwait":"1","chaochuwaitprice":"1.00"},{"config_id":"2","qishitime":"21:00:00","jieshutime":"22:00:00","qibukm":"10.00","qibuprice":"38.00","chaochukm":"1.00","chaochuprice":"5.00","waitfree":"10","chaochuwait":"1","chaochuwaitprice":"1.00"},{"config_id":"3","qishitime":"22:00:00","jieshutime":"23:00:00","qibukm":"10.00","qibuprice":"58.00","chaochukm":"1.00","chaochuprice":"5.00","waitfree":"10","chaochuwait":"1","chaochuwaitprice":"1.00"},{"config_id":"4","qishitime":"23:00:00","jieshutime":"00:00:00","qibukm":"10.00","qibuprice":"78.00","chaochukm":"1.00","chaochuprice":"5.00","waitfree":"10","chaochuwait":"1","chaochuwaitprice":"1.00"},{"config_id":"5","qishitime":"00:00:00","jieshutime":"06:00:00","qibukm":"10.00","qibuprice":"98.00","chaochukm":"1.00","chaochuprice":"5.00","waitfree":"10","chaochuwait":"1","chaochuwaitprice":"1.00"}]
     */

    private String temp_id;
    private String tempname;
    private int isdefault;
    private Object waitfree;
    private Object chaochuwait;
    private Object chaochuwaitprice;
    private List<BillingTypeInfo> config;

    public String getTemp_id() {
        return temp_id;
    }

    public void setTemp_id(String temp_id) {
        this.temp_id = temp_id;
    }

    public String getTempname() {
        return tempname;
    }

    public void setTempname(String tempname) {
        this.tempname = tempname;
    }

    public int getIsdefault() {
        return isdefault;
    }

    public void setIsdefault(int isdefault) {
        this.isdefault = isdefault;
    }

    public Object getWaitfree() {
        return waitfree;
    }

    public void setWaitfree(Object waitfree) {
        this.waitfree = waitfree;
    }

    public Object getChaochuwait() {
        return chaochuwait;
    }

    public void setChaochuwait(Object chaochuwait) {
        this.chaochuwait = chaochuwait;
    }

    public Object getChaochuwaitprice() {
        return chaochuwaitprice;
    }

    public void setChaochuwaitprice(Object chaochuwaitprice) {
        this.chaochuwaitprice = chaochuwaitprice;
    }

    public List<BillingTypeInfo> getConfig() {
        return config;
    }

    public void setConfig(List<BillingTypeInfo> config) {
        this.config = config;
    }

    @Override
    public String toString() {
        return "BillingType{" +
                "temp_id='" + temp_id + '\'' +
                ", tempname='" + tempname + '\'' +
                ", isdefault=" + isdefault +
                ", waitfree=" + waitfree +
                ", chaochuwait=" + chaochuwait +
                ", chaochuwaitprice=" + chaochuwaitprice +
                ", config=" + config +
                '}';
    }
}
